Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Ambient Light


Q3AmbientLight_GetData

You can use the Q3AmbientLight_GetData function to get the data that defines an ambient light.

TQ3Status Q3AmbientLight_GetData (
TQ3LightObject light, 
TQ3LightData *lightData);
light
An ambient light object.
lightData
On exit, a pointer to a light data structure.
DESCRIPTION
The Q3AmbientLight_GetData function returns, through the lightData parameter, information about the ambient light specified by the light parameter. See "Light Data Structure" on page 8-11 for a description of a light data structure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996